﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using SCMS.Model;

namespace SCMS.UI.Models
{
    public class ViewGeneralInventoty
    {
        public List<Model.Inventory> EntityInventory { get; set; }

        public List<Model.Asset> AssetList { get; set; }

        public Inventory EntityInvtory { get; set; }
    }

    public class ViewAssetInventoty
    {
        public List<Model.Asset> EntityAssetInventory { get; set; }

        public Asset EntityAsset { get; set; }

        public FileContentResult AssetImage { get; set; }
    }

    public class EditAsset
    {
        public Model.Asset EntityAsset { get; set; }

        public SelectList Projects { get; set; }

        public SelectList Warehouses { get; set; }

        public SelectList Staffs { get; set; }

        public HttpPostedFileBase AssetPictureUpload { get; set; }
    }

    public class AssetDepreciation
    {
        public Model.Asset EntityAsset { get; set; }

        public SelectList Assets { get; set; }
    }

    public class ViewAnnualDepreciation
    {
        public List<Model.Depreciation> DeprEntity { get; set; }
    }
}